home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
linklist
/
source.lha
/
doc
/
lDef.3
< prev
next >
Wrap
Text File
|
1993-08-08
|
1KB
|
44 lines
'.so tmac.clman
.TH "lDef"
.IX lDef
.SH NAME
lDef - Define linked list.
.SH SYNOPSIS
int
.BR "lDef" "(sd, cc)"
.br
.RT
.RP
In int sd singly or doubly linked list
.br
.RP
In int cc chain or circular linked list
.DT
.SH DESCRIPTION
To define a linked list use \fBlDef\fP. It is possible to define a
singly or doubly linked list and a chain or circular linked list.
The routine returns the identifier of the defined linked list (\(>= 1),
which must be used in the other routines of the linked list tool.
.SH PARAMETER DEFINITIONS
.if t .ta 0.2i 1.5i
\fIsd\fP :
.nf
lSINGLY singly linked list, each node points to the next node
lDOUBLY doubly linked list, each node points to the previous and
the next node
.fi
\fIcc\fP :
.nf
lCHAIN chain linked list, last node has a NULL-pointer
lCIRCULAR circular linked list, last node points back to the first node
.fi
.SH RETURN CODES
.nf
Return on success :
identifier of linked list (\(>= 1)
Return on error :
lWRONG_SD, lWRONG_CC
.fi
.SH AUTHOR
Anita Eijs (TNO - Bouw - BouwInformatica)